# -*- coding: utf-8 -*-
import yaml


def get_yaml(path):
    """
    读取指定位置的yaml文件
    :param path: yaml文件的位置
    :return: 返回读取到的数据结构
    """
    with open(path, 'rb') as f:
        result = yaml.safe_load(f)

    return result




